package com.hansen.library.pickerview.bean;

/**
 * Created by han on 2019/2/20 0020.
 */

public class CodeValueBean {
    /** 唯一 */
    private String code;
    /** 名字 */
    private String value;
    private int selectedResId;
    private int unselectedResId;

    public CodeValueBean(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public CodeValueBean(String code, String value, int selectedResId, int unselectedResId) {
        this.code = code;
        this.value = value;
        this.selectedResId = selectedResId;
        this.unselectedResId = unselectedResId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getSelectedResId() {
        return selectedResId;
    }

    public void setSelectedResId(int selectedResId) {
        this.selectedResId = selectedResId;
    }

    public int getUnselectedResId() {
        return unselectedResId;
    }

    public void setUnselectedResId(int unselectedResId) {
        this.unselectedResId = unselectedResId;
    }
}
